home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Jasc Software, Inc.',
- 'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc. All rights reserved.',
- 'Description': '',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def MIPTemplate_Print():
- return {
- 'PrintingOptions': {
- 'PrinterName': None,
- 'Orientation': 0,
- 'NumCopies': 1,
- 'Negative': App.Constants.Boolean.false,
- 'Background': App.Constants.Boolean.false,
- 'BackgroundColor': (255,255,255),
- 'OutputOption': 0,
- 'CornerCropmarks': App.Constants.Boolean.false,
- 'CenterCropmarks': App.Constants.Boolean.false,
- 'RegistrationMarks': App.Constants.Boolean.false,
- 'ImageLabels': App.Constants.Boolean.false,
- 'Header': App.Constants.Boolean.false,
- 'HeaderText': r'',
- 'Footer': App.Constants.Boolean.false,
- 'FooterText': r'',
- 'CMYKLabels': App.Constants.Boolean.false,
- 'PrintQuality': 600,
- 'PaperSize': 1
- },
- 'MIPCmdFile': r'',
- 'TemplateMetric': App.Constants.Boolean.false,
- 'PageDimensions': (8.5,11),
- 'TemplateCategory': r'Avery',
- 'TemplateDescription': 'Rⁿcksendeadressetiketten 1,9 x 5,7 cm',
- 'Template': [{
- 'CellPosition': (0.3075,0.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,1.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,2.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,3.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,4.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,5.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,6.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,7.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,8.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.3075,9.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,0.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,1.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,2.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,3.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,4.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,5.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,6.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,7.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,8.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (3.0575,9.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,0.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,1.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,2.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,3.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,4.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,5.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,6.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,7.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,8.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (5.8075,9.5575),
- 'CellSize': (2.385,0.885),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- }]
- }
-
- def Do(Environment):
- App.Do( Environment, 'Print', MIPTemplate_Print())
-
-